<?php


class Action_Controller_Fabric 
{ 
    
                                         
    public static function getController($str, View $view, $args = null)   
    { 
        $name = $str . '_Action_Controller';
        $actionController = new $name;
        $actionController->setView($view) ->setArgs($args) ->setAuthConfig(); 
        return $actionController;
    }
    
}